package com.qb.common.utils

import android.content.Context
import android.content.Intent

object ShareUtils {
    fun share(mContext:Context?,shareText:String){
        val wechatIntent = Intent(Intent.ACTION_SEND)
        wechatIntent.setPackage("com.tencent.mm")
        wechatIntent.type = "text/plain"
        wechatIntent.putExtra(Intent.EXTRA_TEXT, shareText)
        mContext?.startActivity(wechatIntent)
    }
}